package com.wksc.test.ehcache.entity;

import java.util.List;

/**
 * Created by panhongwei on 2015/5/21.
 */
public class User {

    private Long id;
    private String name;
    private Integer age;
    private List<Article> articles;
    private List<People> peoples;

    public User() {
    }

    public List<People> getPeoples() {
        return peoples;
    }

    public void setPeoples(List<People> peoples) {
        this.peoples = peoples;
    }

    public User(String name, Integer age) {
        this.name = name;
        this.age = age;
    }

    public List<Article> getArticles() {
        return articles;
    }

    public void setArticles(List<Article> articles) {
        this.articles = articles;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}
